package com.xinruke.hostels.dailymanage.interfaces.dto.roomlock;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinruke.hostels.common.vo.query.BaseQueryVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("房间锁房记录查询列表DTO")
@Data
public class RoomLockRecordQueryListDTO extends BaseQueryVO {

    @ApiModelProperty(value = "状态:1锁房中；2解锁")
    private Byte zhuangtai;

    @ApiModelProperty(value = "房间编号")
    private String fangjianhao;

    @ApiModelProperty(value = "开始时间yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date kaishishijian;

    @ApiModelProperty(value = "结束时间yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date jieshushijian;
}
